//
//  HZNativeAction.m
//  Stock_Stategy
//
//  Created by MayerF on 2019/7/19.
//  Copyright © 2019 MayerF. All rights reserved.
//

#import "HZNativeAction.h"
#import "UIViewController+Root.h"

@implementation HZNativeAction

+ (void)openPhone:(NSString *)phone
{
    NSString *phoneStr = [NSString stringWithFormat:@"telprompt://%@", phone];
    [UIApplication.sharedApplication openURL:[NSURL URLWithString:phoneStr]];
}

+ (void)activeLogin
{
    [HZUserManager logout];
}

@end
